class AddFirstAdministrator < ActiveRecord::Migration
  def self.up
    User.create(:name => 'philong',
              :password => 'd4d87aeb4dece27d7d23a2c23552c214cfd920db',
              :about => 'Author of Metasland.',
              :email => 'huangfeilong@gmail.com',
              :role_id => 1)
  end

  def self.down
    User.delete_all
  end
end
